<?php for ($i = 0; $i < count($select_list); $i++) {
	$select_item = $select_list[$i];
?>
<tr class="termSelectionBlock">
	<td valign="top"><?=$select_item['title'];?></td>
	<td>
		<select name="term_id_<?=$i?>" class="medium_text">
			<?php foreach ($select_item['term_list'] as $term_item) { ?>
				<option value="<?=$term_item->id?>" <?=$this->validation->set_select('term_id_' . $i, $term_item->id); ?>><?=$term_item->title;?></option>
			<?php } ?>
		</select>
	</td>
</tr>
<?php } ?>